﻿@model BlackBird.Models.ProjectDM
@using BlackBird.Models;

<section class = "project_item">
    <div class = "project_item_body" data-id = "@Model.Id">
        <ul>
            <li class = "project_item_thumbnail">
                <span class="project_img">
                    <img alt = "" src = "@Model.thumbnialurl"/>
                </span>
            </li>

            <li class = "project_item_name">
                <h3>
                    <a href = "#">@Model.BasicInfo.Name</a>
                </h3>
                <span><strong>创 建 者：</strong>@Model.BasicInfo.CreateUserName</span>
                <span><strong>创建日期：</strong>@Model.BasicInfo.CreateDate</span>
                <span><strong>项目状态：</strong>@Model.BasicInfo.Status</span>
            </li>

            <li class = "project_item_basic">
                <span><strong>项目联系人：</strong>@Model.ContactorInfo.RealName</span>
                <span><strong>联系人电话：</strong>@Model.ContactorInfo.Tel</span>
                <span><strong>项目地址：</strong>@Model.ContactorInfo.Address</span>
            </li>

            <li class = "project_item_shouzhi">
              
            </li>

            <li class = "project_item_bijiadan">
                <a href = "@Url.Action(@MVC.Project.ItemListView(SupportTypes.BiJiaDan, Model.Id))" class = "project_object_list" data-type = "@SupportTypes.BiJiaDan"><span>比价单：@(Model.BasicInfo.BiJiaDanCount) 个</span></a>
@*                <a href = "@Url.Action(@MVC.Project.ItemListView(SupportTypes.Income, Model.Id))" class = "project_object_list" data-type = "@SupportTypes.Income"><span>收入单：@(Model.BasicInfo.IncomeCount) 个</span></a>
                <a href = "@Url.Action(@MVC.Project.ItemListView(SupportTypes.Expend, Model.Id))" class = "project_object_list" data-type = "@SupportTypes.Expend"><span>支出单：@(Model.BasicInfo.ExpendCount) 个</span></a>
                <a href = "@Url.Action(@MVC.Project.ItemListView(SupportTypes.Event, Model.Id))" class = "project_object_list" data-type = "@SupportTypes.Event"><span>事件：@(Model.BasicInfo.EventCount) 个</span></a>*@
                <a href = "@Url.Action(@MVC.Project.ItemListView(SupportTypes.FukuanDan, Model.Id))" class = "project_object_list" data-type = "@SupportTypes.FukuanDan"><span>付款单：@(Model.BasicInfo.FuKuanDanCount) 个</span></a>
            </li>
        </ul>
    </div>
</section>
